package com.yule.system.dao;

import com.yule.system.model.SystemRole;
import com.yule.system.model.SystemUser;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SystemCustomDao {

    List<SystemRole> findRoleListByUserId(SystemUser user);

    List<SystemUser> findUserListByRoleId(SystemRole role);

    List<SystemUser> findUserListByNodeId(int nodeId);

    List<SystemUser> findUserListByName(String name);

}
